import React from "react";
import { DatePicker } from 'antd';

const { RangePicker } = DatePicker;


const XxRangePicker = (props) => {
    const onChange = (date, dateString) => {
        console.log('日期范围发生变化：\n',date, dateString);
    };
    return (
        <>
            <RangePicker
                onChange={onChange}
                // defaultValue={defaultSelectDate({ num: 1 })}
                {...props}
            />

        </>
    )
}

export default XxRangePicker